package com.ate.bean;

import com.flyco.tablayout.listener.CustomTabEntity;

public class TabBean implements CustomTabEntity {

    private String name;
    private int sel;
    private int unsel;

    public TabBean(String name, int sel, int unsel) {
        this.name = name;
        this.sel = sel;
        this.unsel = unsel;
    }

    @Override
    public String getTabTitle() {
        return name;
    }

    @Override
    public int getTabSelectedIcon() {
        return sel;
    }

    @Override
    public int getTabUnselectedIcon() {
        return unsel;
    }
}
